/*
 * MiPnP, a minimal Plug and Play Server.
 * Copyright (C) 2010, 2011  Jochem Van denbussche
 *
 * This file is part of MiPnP.
 *
 * MiPnP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * MiPnP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/*
 * OsTools.java
 * Created on Dec 5, 2010, 12:26:12 PM
 */
package com.googlecode.mipnp.tools;

/**
 * This class provides static methods to get more info about the OS.
 * @author Jochem Van denbussche <jvandenbussche@gmail.com>
 */
public class OsTools {

    /**
     * Get the OS name.
     * @return the OS name
     */
    public static String getOsName() {
        return System.getProperty("os.name");
    }

    /**
     * Get the OS version.
     * @return the OS version
     */
    public static String getOsVersion() {
        return System.getProperty("os.version");
    }
}
